//
//  PopPay.h
//  仿支付宝密码输入框
//
//  Created by LH on 17/4/25.
//  Copyright © 2017年 LH. All rights reserved.
//

#import <UIKit/UIKit.h>

@protocol TPSPushPayDelegate <NSObject>

-(void)password:(NSString *)password;
-(void)forgetPassword;

@end

@interface TPSPushPay : UIView
@property(nonatomic,weak) id <TPSPushPayDelegate>delegate;
@property (nonatomic,copy)NSString *titleText;//!<设置标题
@property(nonatomic,assign)BOOL hideForgetPassword;//!< 是否隐藏忘记密码按钮  默认NO
-(void)setTitle:(NSString *)titleStr forgetText:(NSString *)forgetText delegate:(id )fromVC;

@end
